package mm_ticket;

import java.io.FileNotFoundException;
import java.io.InputStream;

import org.yaml.snakeyaml.Yaml;

import config.mm_config;
import core.push.mm_mail;
import core.reactor.mm_reactor;

public class mm_config_test {

	public static void main(String[] args) throws FileNotFoundException {
		InputStream inputStream = mm_config_test.class.getResourceAsStream("/ticket_config/example_user_config_2.yml");
		mm_config config = new Yaml().loadAs(inputStream, mm_config.class);
		mm_reactor _mm_reactor = new mm_reactor(config);
		new mm_mail(_mm_reactor).push("order_no");
	}
}
